import pytest
import os
import log
import allure
from log import set_tu,long_sent
if __name__ == '__main__':
    set_tu()
    pytest.main(['-s','Testcase.py','--alluredir=测试报告','--clean-alluredir'])
    os.system('allure geneate 测试数据 -o 测试报告 clean')
    long_sent(['log.txt','测试报告./index.html'])
